package com.celesea.framework.util.tree;

import java.util.List;

/**
 * @author JackYuan
 * @create 2017-11-02 21:43
 */
public interface ITree<T extends ITree> {
    String getId();

    String getParentId();

    Byte getLeaf();

    void setLeaf(Byte leaf);

    List<T> getChildren();

    void setChildren(List<T> children);


}
